UCF STIG Viewer Logo

ESX Agent Manager must set the welcome-file node to a default web page.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256694 VCEM-70-000022 SV-256694r888638_rule Medium
Description
Enumeration techniques, such as URL parameter manipulation, rely on being able to obtain information about the web server's directory structure by locating directories without default pages. In this scenario, the web server will display to the user a listing of the files in the directory being accessed. By having a default hosted application web page, the anonymous web user will not obtain directory browsing information or an error message that reveals the server type and version. Ensuring every document directory has an "index.jsp" (or equivalent) file is one approach to mitigating the vulnerability.
STIG Date
VMware vSphere 7.0 vCenter Appliance EAM Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60369r888636_chk )
At the command prompt, run the following command:

# xmllint --format /usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/welcome-file-list' -

Expected result:


index.jsp


If the output does not match the expected result, this is a finding.
Fix Text (F-60312r888637_fix)
Navigate to and open:

/usr/lib/vmware-eam/web/webapps/eam/WEB-INF/web.xml

Add the following section under the node:


index.jsp


Restart the service with the following command:

# vmon-cli --restart eam